﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SPwdUpdate.aspx.cs" Inherits="User_SPwdUpdate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改密码</title>
    <link href="../CSS/SubStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0" class="topTable">
            <tr>
                <td class="topTd">
                    <asp:Label ID="lblLocation" runat="server" Text="<%$ Resources:language, Location %>"></asp:Label><img
                        alt="当前位置" src="../Image/weizhi.gif" />>><asp:Label ID="Label1" runat="server" Text="<%$ Resources:hwlan, l55 %>"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="height: 5px;">
                </td>
            </tr>
        </table>
        <fieldset>
                        <legend><font style="font-size: 12px">
                            <asp:Label ID="Label5" runat="server" Text="<%$ Resources:hwlan, l55 %>"></asp:Label></font></legend>
                        <table border="0" cellpadding="0" cellspacing="0" class="topTdInput" style="width: 100%">                          
                            <tr>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    <asp:Label ID="Label2" runat="server" Text="<%$ Resources:hwlan, puold %>"></asp:Label>
                                </td>
                                <td class="td20">
                                    <asp:TextBox ID="txtPwd" runat="server" CssClass="txtStyle" TextMode="Password"></asp:TextBox>
                                </td>
                                <td class="td10">
                                </td>
                                <td class="td20">
                                </td>
                                <td class="td10">
                                </td>
                            </tr>
                            <tr>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    <asp:Label ID="Label3" runat="server" Text="<%$ Resources:hwlan, punew %>"></asp:Label>
                                </td>
                                <td class="td20">
                                    <asp:TextBox ID="txtPwd1" runat="server" CssClass="txtStyle" 
                                        TextMode="Password"></asp:TextBox>
                                </td>
                                <td class="td10">
                                </td>
                                <td class="td20">
                                </td>
                                <td class="td20">
                                </td>
                            </tr>
                            <tr>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    <asp:Label ID="Label4" runat="server" Text="<%$ Resources:hwlan, puagain %>"></asp:Label>
                                </td>
                                <td class="td20">
                                    <asp:TextBox ID="txtPwd2" runat="server" CssClass="txtStyle" 
                                        TextMode="Password"></asp:TextBox>
                                </td>
                                <td class="td10">
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                        ControlToCompare="txtPwd1" ControlToValidate="txtPwd2" ErrorMessage="新密码不一致" 
                                        ForeColor="Red"></asp:CompareValidator>
                                </td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td20">
                                </td>
                            </tr>                            
                            <tr>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td10">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                                <td class="td20">
                                    &nbsp;</td>
                            </tr>                            
                        </table>
                        <div class="cmdButtonsDiv">
                                    <asp:Button ID="cmdEdit" runat="server" Text="<%$ Resources:hwlan, swgok %>" CssClass="cmdStyle"
                                        OnClick="cmdEdit_Click" />
                                    <input runat="server" id="cmdClear" class="cmdStyle" type="button" value="<%$ Resources:hwlan, reset %>"
                                        onclick="ClearPwd();" />
                <script language="javascript" type="text/javascript">
                    function ClearPwd() {
                        document.getElementById("txtPwd").value = "";
                        document.getElementById("txtPwd1").value = "";
                        document.getElementById("txtPwd2").value = "";
                    }
                </script>
                          </div>
                    </fieldset>               
    </form>
</body>
</html>
